<html>
  <head>
  <script type="text/javascript" src="./soapclient.js">
  </script>
  <script type="text/javascript">
  function ADCserv()
  {
     var url=document.location.href.replace("iweb.html","adc");
     var p=new SOAPClientParameters();
     p.add("cmd",document.frmiweb.txADCmd.value);
     SOAPClient.invoke(url,"run",p,true,ADCallback);
  }
  function ADCallback(ret)
  {
     alert(ret);
  }
  </script>
  </head>
  <body>
  <form id="frmiweb" name="frmiweb" action="" method="post">
  <div id=adc>
  <input type="text" name="txADCmd" id="txADCmd" value="">
  <input type="button" value="show adc result" onclick="ADCserv()">
  </div>
  </form>
  </body> 
</html>
